// 计算带折扣的价格
export function priceWithDiscount(price : number, discount : number) {
  if (!discount) {
    discount = 10
  }
  return Number(price * discount * 0.1).toFixed(2)
}

export function priceTwoDecimal(price : number) {
  return Number(price).toFixed(2)
}
